//
//  PublishListCell.h
//  ShrimpCrowdordering
//
//  Created by 郑洲 on 2018/7/25.
//  Copyright © 2018年 郑洲. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PublishModel;
@interface PublishListCell : UITableViewCell

@property(nonatomic,strong)void (^likeClick)(void);
@property(nonatomic,strong)void (^commentClick)(void);
@property(nonatomic,strong)void (^shareClick)(void);
@property (nonatomic, strong) PublishModel *publishModel;
+ (PublishListCell *)cellWithTableView:(UITableView *)tableView andIndexPath:(NSIndexPath *)indexPath;

@end

@interface PublishModel : JSONModel


@property (nonatomic, strong)NSString<Optional>* Id;//int

@property (nonatomic, strong)NSString<Optional>* buyNum;

@property (nonatomic, strong)NSString<Optional>* channelId;

@property (nonatomic, strong)NSString<Optional>* commentNum;

@property (nonatomic, strong)NSString<Optional>* createTime;

@property (nonatomic, strong)NSString<Optional>* designIdea;

@property (nonatomic, strong)NSString<Optional>* isDelete;

@property (nonatomic, strong)NSString<Optional>* isPublish;

@property (nonatomic, strong)NSString<Optional>* modifyTime;

@property (nonatomic, strong)NSString<Optional>* pic;

@property (nonatomic, strong)NSString<Optional>* proName;

@property (nonatomic, strong)NSString<Optional>* proPrice;

@property (nonatomic, strong)NSString<Optional>* publishTime;

@property (nonatomic, strong)NSString<Optional>* status;

@property (nonatomic, strong)NSString<Optional>* title;

@property (nonatomic, strong)NSString<Optional>* titlePic;

@property (nonatomic, strong)NSString<Optional>* type;

@property (nonatomic, strong)NSString<Optional>* userId;

@property (nonatomic, strong)NSString<Optional>* userName;

@property (nonatomic, strong)NSString<Optional>* zanNum;

@property (nonatomic, strong)NSString<Optional>* shareNum;

@end
